Skip to content

Conversation

@gregfromstl
Copy link
Contributor

@gregfromstl gregfromstl commented Nov 4, 2024

PR-Codex overview

This PR modifies the tests in the getWalletBalance.test.ts file to change the assertion for result.value. It now checks that result.value is defined instead of ensuring it is greater than zero.

Detailed summary

  • Changed the assertion from expect(result.value).toBeGreaterThan(0n); to expect(result.value).toBeDefined();

✨ Ask PR-Codex anything about this PR by commenting with /codex {your question}

@gregfromstl gregfromstl added the TS SDK Involves changes to the v5 TypeScript SDK. label Nov 4, 2024
@gregfromstl gregfromstl self-assigned this Nov 4, 2024
@changeset-bot
Copy link

changeset-bot bot commented Nov 4, 2024

⚠️ No Changeset found

Latest commit: f03a18d

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes no changesets

When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

@graphite-app
Copy link
Contributor

graphite-app bot commented Nov 4, 2024

Your org has enabled the Graphite merge queue for merging into main

Add the label “merge-queue” to the PR and Graphite will automatically add it to the merge queue when it’s ready to merge. Or use the label “hotfix” to add to the merge queue as a hot fix.

You must have a Graphite account and log in to Graphite in order to use the merge queue. Sign up using this link.

@vercel
Copy link

vercel bot commented Nov 4, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
docs-v2 ✅ Ready (Inspect) Visit Preview 💬 Add feedback Nov 4, 2024 4:22pm
thirdweb_playground ✅ Ready (Inspect) Visit Preview 💬 Add feedback Nov 4, 2024 4:22pm
thirdweb-www ✅ Ready (Inspect) Visit Preview 💬 Add feedback Nov 4, 2024 4:22pm
wallet-ui ✅ Ready (Inspect) Visit Preview 💬 Add feedback Nov 4, 2024 4:22pm

@github-actions
Copy link
Contributor

github-actions bot commented Nov 4, 2024

size-limit report 📦

Path Size Loading time (3g) Running time (snapdragon) Total time
thirdweb (esm) 43 KB (0%) 860 ms (0%) 273 ms (-42.8% 🔽) 1.2 s
thirdweb (cjs) 103.02 KB (0%) 2.1 s (0%) 826 ms (+16.64% 🔺) 2.9 s
thirdweb (minimal + tree-shaking) 4.85 KB (0%) 97 ms (0%) 98 ms (+223.49% 🔺) 195 ms
thirdweb/chains (tree-shaking) 506 B (0%) 10 ms (0%) 116 ms (+643.7% 🔺) 126 ms
thirdweb/react (minimal + tree-shaking) 17.01 KB (0%) 341 ms (0%) 191 ms (+105.34% 🔺) 531 ms

@codecov
Copy link

codecov bot commented Nov 4, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 45.37%. Comparing base (0660416) to head (f03a18d).
Report is 1 commits behind head on main.

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #5281   +/-   ##
=======================================
  Coverage   45.37%   45.37%           
=======================================
  Files        1067     1067           
  Lines       55451    55451           
  Branches     3992     3990    -2     
=======================================
  Hits        25161    25161           
  Misses      29599    29599           
  Partials      691      691           
Flag Coverage Δ *Carryforward flag
legacy_packages 65.68% <ø> (ø) Carriedforward from 0660416
packages 40.41% <ø> (ø)

*This pull request uses carry forward flags. Click here to find out more.

Copy link
Contributor

@kien-ngo kien-ngo left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm

Copy link
Member

@joaquim-verges joaquim-verges left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@gregfromstl actually changed this test to check native balance instead, since we already have a erc20 test above

@gregfromstl gregfromstl closed this Nov 4, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

packages TS SDK Involves changes to the v5 TypeScript SDK.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants